module.exports  = {
  head: [// 设置 favor.ico，html/head 标题中添加 style 标签
      ['link', { rel: 'icon', href: `logo.png` }]
  ],
  title: 'title', // 设置网站标题
  description: 'description：我的技术站',
  //theme: 'vdoing',
  base: '/', //默认路径
  themeConfig: {// 主题设置
      nav: [
      {// 右上导航航条 docs/.vuepress 文件夹下
          text: '概述',
          link: '/'
      }, {
          text: 'java',
          items:[
              {text:'java基础', link: '/Java-world/01.java-basic/README.md'}, 
              {text:'spring', link: '/Java-world/05.spring/README.md',
				  items:[
				  {text:'springmvc', link: '/Java-world/05.spring/01.springmvc/README.md'},
				  {text:'springboot', link: '/Java-world/05.spring/01.springmvc/README.md'},
				  {text:'springsecurity', link: '/Java-world/05.spring/01.springmvc/README.md'},
				  ]},
			  {text:'springcloud', link: '/Java-world/10.springcloud/README.md'}
          ]
      }, {
          text: 'front',
          items:[
              {text:'笔记', link: '/guide/vue/test01'}, // 可不写后缀 .md
              {text:'其它链接', link: 'https://www.baidu.com/'}// 外部链接
          ]
      }, {
          text: 'tools',
          items:[
              {text:'笔记', link: '/guide/vue/test01'}, // 可不写后缀 .md
              {text:'其它链接', link: 'https://www.baidu.com/'}// 外部链接
          ]
      }, {
          text: 'data',
          items:[
              {text:'笔记', link: '/guide/ts/'},// 以 ‘/’结束，默认读取 README.md
              {text:'其它链接', link: 'https://www.baidu.com/'} // 外部链接
          ]
      }],
      sidebar: {//左侧列表
          '/guide/vue/': [{ // 对应导航中的link文件夹路径，注意这里是 ‘/’结束
              title: 'Vue 学习',
              collapsable: true,
              children: [{
                  title: '测试01',
                  path: 'test01'
              }, {
                  title: '测试02',
                  path: 'test02'
              }, {
                  title: '测试03',
                  path: 'test03'
              }]
          }],
          '/guide/ts/': [{
              title: 'Typescript 学习',
              collapsable: false,
              children: [{
                  title: '测试',
                  path: 'test01'
              }]
          }],
          // fallback 侧边栏被最后定义
          '/': [''], //不能放在数组第一个，否则会导致右侧栏无法使用 
      },
      // 左侧列表展开级数，默认是 1
      sidebarDepth: 2
  }
}
